package com.example.test.service.config;

import cn.hutool.crypto.asymmetric.RSA;
import org.springframework.stereotype.Component;

@Component
public class RsaFactory {

    private final RSA rsa = new RSA();

    private RsaFactory() {
    }

    public RSA getinstance(){
        return rsa;
    }
}
